package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.FieldContentVo;
import com.zb.entity.ZjNetworkAloneAuthenFieldContent;

import java.util.List;

/**
 * <p>
 * 网点个人认证字段内容表，当zj_network_alone_authen_field表字段type=3/4时，单选/多选 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-01-31
 */
public interface ZjNetworkAloneAuthenFieldContentService extends IService<ZjNetworkAloneAuthenFieldContent> {

    /**
     * 保存或更新单选/多选内容
     * @param custAccId 商家ID
     * @param networkAloneAuthenFieldId 网点个人认证字段表ID
     * @param contentVos
     */
    void save(Long custAccId, Long networkAloneAuthenFieldId, List<FieldContentVo> contentVos);

    /**
     * 获取单选/多选内容
     * @param networkAloneAuthenFieldIds 网点个人认证字段表ID
     * @return
     */
    List<ZjNetworkAloneAuthenFieldContent> getByNetworkAloneAuthenFieldIds(List<Long> networkAloneAuthenFieldIds);

    /**
     * 获取单选/多选内容
     * @param networkAloneAuthenFieldId 网点个人认证字段表ID
     * @return
     */
    List<ZjNetworkAloneAuthenFieldContent> getByNetworkAloneAuthenFieldId(Long networkAloneAuthenFieldId);

    /**
     * 根据认证字段ID
     * @param networkAloneAuthenFieldIds 认证字段ID
     */
    void deleteBatchByNetworkAloneAuthenFieldIds(List<Long> networkAloneAuthenFieldIds);
}
